package com.common.util;

import java.io.IOException;
import java.util.Properties;

public class JenkinsUtil {

	/**
	 * jenkins的服务器host
	 */
	public static String HOSTNAME;
	
	/**
	 * jenkins服务器存放文件的共享地址
	 */
	public static String PATH;
	
	static {
		Properties p = new Properties();
		try {
			p.load(JenkinsUtil.class.getResourceAsStream("/properties/jenkins.properties"));
			HOSTNAME = p.getProperty("hostname");
			PATH = p.getProperty("path");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
